package cn.wolfcode.trip.app.controller;

import cn.wolfcode.trip.base.query.StrategyQueryObject;
import cn.wolfcode.trip.base.service.IStrategyDetailService;
import cn.wolfcode.trip.base.service.IStrategyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("strategyDetails")
public class StrategyDetailsController {

    @Autowired
    private IStrategyDetailService detailService;


    @GetMapping("/{detailId}")
    public Object getContentByStrategyId(@PathVariable("detailId") Long detailId){
        return detailService.getContentByStrategyId(detailId);
    }

}
